import request from '@/utils/request'

// 查询区县基础指标统计列表
export function listIndexCounty(query) {
  return request({
    url: '/ybyj/indexCounty/list',
    method: 'get',
    params: query
  })
}

// 查询区县基础指标统计详细
export function getIndexCounty(id) {
  return request({
    url: '/ybyj/indexCounty/' + id,
    method: 'get'
  })
}

// 新增区县基础指标统计
export function addIndexCounty(data) {
  return request({
    url: '/ybyj/indexCounty',
    method: 'post',
    data: data
  })
}

// 修改区县基础指标统计
export function updateIndexCounty(data) {
  return request({
    url: '/ybyj/indexCounty',
    method: 'put',
    data: data
  })
}

// 删除区县基础指标统计
export function delIndexCounty(id) {
  return request({
    url: '/ybyj/indexCounty/' + id,
    method: 'delete'
  })
}


